﻿using System;
using System.Collections.Generic;
using EnvDTE;
using EnvDTE80;


namespace VsTortoiseSVN.Commands
{
    public class SolutionExplorerSelectedItemsUpdate : SolutionExplorerSelectedItemsBase
    {
        public SolutionExplorerSelectedItemsUpdate(DTE2 app, string id)
            : base(app, id)
        {
        }

        public override bool Exec()
        {
            List<string> fullNames = GetFullNames();
            TortoiseProc.Update(fullNames);
            return true;
        }
    }
}
